import React, { Component } from 'react'
import { observer } from 'mobx-react/custom'
// import { Button } from 'antd-mobile'
import TestVM from 'cvm/test/test'
import './test.less'

const TestList = observer(({ vm }) => {
  return (
    <div className=''>
      {vm.test}
      测试
    </div>
  )
})

@observer
class Test extends Component {
  constructor (props) {
    super(props)
    window.document.title = '测试'
    this.vm = new TestVM(props)
  }
  render () {
    return (
      <div>
        <TestList vm={this.vm} />
      </div>
    )
  }
}

export default Test
